package com.anolesoft.yr.mbus.prod.model.mapper;

import com.anolesoft.yr.mbus.prod.model.sql.ProdTypeSQL;
import com.anolesoft.yr.mbus.prod.model.vo.ProdTypeQueryVO;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface ProdTypeMapper {

    //查询产品类型名称
    @Select(ProdTypeSQL.QUERY_PROD_TYPE_NAME_ALL)
    @Results(id = "queryProdTypeAll", value = {
            @Result(column = "objuid", property = "objuid"),
            @Result(column = "type_name", property = "typeName"),
    })
    List<ProdTypeQueryVO> queryProdTypeName();

}
